package com.aliyun.iot.demo.iothub;


public class ObjectActionDefine {

	public DataProvider provider = null;

	public int SetRightFlag = 0;
	public float XoffSet = 0;
	public float YoffSet = 0;
	public float ZoffSet = 0;

	public ObjectActionDefine() {

	}

	public void openDataProvider(DataProvider provider) {
		this.provider = provider;
		this.provider.start();
	}

	public void closeDataProvider() {
		if (this.provider != null) {
			this.provider.stop();
		}
	}
	
	public DataProvider GetProvider() {
		return this.provider;
	}

}
